/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ClientGraphics;

import GameEngine.Vector;
import java.awt.image.BufferedImage;

/**
 * Allows for different images to have different offsets to be drawn with
 * @author ag12
 */
public class ImageWrapper
{

    BufferedImage img;
    int xOffset;
    int yOffset;

    public ImageWrapper(BufferedImage image, int x, int y) {
        img = image;
        xOffset = x;
        yOffset =  y;
    }

    ImageWrapper(BufferedImage image, Vector addNew) {
        img = image;
        xOffset = (int) addNew.getX();
        yOffset = (int) addNew.getY();
    }

}
